package com.example.mcp.server.model;

import com.fasterxml.jackson.annotation.JsonProperty;

public class McpToolCallResponse extends McpMessage {

    @JsonProperty("content")
    private Object content;

    @JsonProperty("isError")
    private Boolean isError;

    public McpToolCallResponse() {
        this.setType("tools/call");
        this.setIsError(false);
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public Boolean getIsError() {
        return isError;
    }

    public void setIsError(Boolean isError) {
        this.isError = isError;
    }
}